Carbon


PBMakeFSRefSync

Header: Files.h Carbon status: Supported

Converts an FSSpec to an FSRef.

OSErr PBMakeFSRefSync (
    FSRefParam *paramBlock
);
Parameter descriptions
paramBlock

A pointer to a parameter block.

function result

A result code.

DISCUSSION

The relevant fields of the parameter block are:

To obtain an FSSpec from an FSRef, use the FSGetCatalogInfo call.

For the parameter block based calls, the fields of the source FSSpec are passed as separate parameters (ioNamePtr, ioVRefNum, and ioDirID). This allows the call to be dispatched to external filesystems the same way as other FSp calls are.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 9, or later.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)